package com.ruoyi.library.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.library.api.query.DigitalTwinComponentQuery;
import com.ruoyi.library.api.vo.DigitalTwinComponentVO;
import com.ruoyi.library.domain.DtsDigitalTwinComponent;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

/**
 * 构件Mapper接口
 *
 * @author ruoyi
 * @date 2024-05-16
 */
@MapperScan
public interface DtsDigitalTwinComponentMapper extends BaseMapper<DtsDigitalTwinComponent> {

    /**
     * 构件信息分页
     *
     * @param digitalTwinComponentQuery 构件信息查询条件
     * @return 构件信息分页
     */
    Page<DigitalTwinComponentVO> componentInfoPage(Page<DigitalTwinComponentVO> page, @Param("digitalTwinComponentQuery") DigitalTwinComponentQuery digitalTwinComponentQuery);

}
